 <html>
<head>
    <style type="text/css">
        .yui-skin-sam .yui-dt tbody td.up {
            background-color: #efe;
        }
        .yui-skin-sam .yui-dt tbody td.down {
            background-color: #fee;
        }
    </style>
	
<script type="text/javascript" src="sessvars.js"></script>
<script type="text/javascript" src="build/yahoo/yahoo-min.js"></script>
<script type="text/javascript" src="build/event/event-min.js"></script>
<script type="text/javascript" src="http://developer.yahoo.com/yui/build/yuiloader/yuiloader.js"></script>


<!--CSS file (default YUI Sam Skin) -->
<link rel="stylesheet" type="text/css" href="build/reset/reset-min.css">
<link rel="stylesheet" type="text/css" href="build/fonts/fonts-min.css">
<link rel="stylesheet" type="text/css" href="build/base/base-min.css">
<link rel="stylesheet" type="text/css" href="build/button/assets/button.css" />
<link rel="stylesheet" type="text/css" href="build/datatable/assets/skins/sam/datatable.css">
<link rel="stylesheet" type="text/css" href="build/container/assets/skins/sam/container.css"> 
<link rel="stylesheet" type="text/css" href="dasBrowser.css">

<!-- Dependencies -->
<script type="text/javascript" src="http://yui.yahooapis.com/2.7.0/build/yahoo-dom-event/yahoo-dom-event.js"></script>
<script type="text/javascript" src="http://yui.yahooapis.com/2.7.0/build/element/element-min.js"></script>
<script type="text/javascript" src="http://yui.yahooapis.com/2.7.0/build/datasource/datasource-min.js"></script>
<script type="text/javascript" src="http://yui.yahooapis.com/2.7.0/build/json/json-min.js"></script>
<script type="text/javascript" src="http://yui.yahooapis.com/2.7.0/build/connection/connection-min.js"></script>
<script type="text/javascript" src="http://yui.yahooapis.com/2.7.0/build/get/get-min.js"></script>
<script type="text/javascript" src="http://yui.yahooapis.com/2.7.0/build/dragdrop/dragdrop-min.js"></script>
<script type="text/javascript" src="http://yui.yahooapis.com/2.7.0/build/datatable/datatable-min.js"></script>
<script type="text/javascript" src="http://yui.yahooapis.com/2.7.0/build/animation/animation-min.js"></script>
<script type="text/javascript" src="http://yui.yahooapis.com/2.7.0/build/container/container-min.js"></script>


<script>
//sessvars.$.debug();
YAHOO.namespace("dasRegistry");
sessvars.karyoDas = new Object();
sessvars.karyoDas.conf = new Object();
sessvars.karyoDas.conf.sources = new Array();
sessvars.karyoDas.conf.userEntryPoints = [];
sessvars.karyoDas.conf.zoomConf = [];
sessvars.karyoDas.conf.userContainers = [];
sessvars.karyoDas.conf.specie = new String();
</script>

<script type="text/javascript" src="init.js"></script>
<script type="text/javascript" src="drawKaryotypeStructure.js"></script>
<!--
<script type="text/javascript" src="registryRequest.js"></script>
<script type="text/javascript" src="dsnRequest.js"></script>
-->
<script type="text/javascript" src="dasParsers.js"></script>
<script type="text/javascript" src="searchDataTables.js"></script>
<script type="text/javascript" src="searchRequests.js"></script>
<script type="text/javascript" src="classes.js"></script>
<script type="text/javascript" src="util.js"></script>
<script type="text/javascript" src="karyotypeStructureFunctions.js"></script>

<script>

/**
 * General configuration
 */
//YAHOO.dasBrowser.genome.karyotypeStructure.dsn.selectedDsn.id = "Homo_sapiens.GRCh37.reference";
sessvars.karyoDas.conf.selectedDsnId = "Homo_sapiens.GRCh37.reference";

//YAHOO.dasBrowser.genome.karyotypeStructure.entryPoints.userEntryPoints = [1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,'X','Y'];
//sessvars.karyoDas.conf.userEntryPoints = [1,2,3];
//sessvars.karyoDas.conf.userEntryPoints = [];
//sessvars.karyoDas.conf.zoomConf = [];

//YAHOO.dasBrowser.genome.panel.userContainers = ['annotationListView', 'sequenceView', 'zoomView', 'bandView', 'chromosomeView', 'karyotypeView']; //Possible containers ... ['annotationListView', 'sequenceView', 'zoomView', 'bandView', 'chromosomeView', 'karyotypeView', 'copyNumberView', 'test']
sessvars.karyoDas.conf.userContainers = ['annotationListView', 'sequenceView', 'zoomView', 'bandView', 'chromosomeView', 'karyotypeView'];

//YAHOO.util.Event.addListener(window, 'load', YAHOO.dasRegistry.startRegistryRequest);

YAHOO.util.Event.addListener(window, 'load', YAHOO.dasRegistry.startCipfDsnRequest);

</script>
    </head>
<body class="yui-skin-sam">
<h3>KaryoDAS</h3>
<div id="karyoDas">
</div>
</br>
<div id="karyoDasButton">
</div>

<!--
<a id="selectall" href="#" onclick="return selectAll();">Select All</a> &nbsp;|&nbsp;
<a id="unselectall" href="#" onclick="return unselectAll();">Unselect All</a>
-->
<br>
</body>
</html>
